home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Commands / PSpell.cpp < prev    next >
C/C++ Source or Header  |  1996-09-04  |  791b  |  35 lines

  1. /*
  2.  *--- PSpell.cpp ----------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:19 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PSpell.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PSpell.h"
  12. #include "PCommand.h"
  13.  
  14. const size_t REQUEST_SIZE = 10;
  15.  
  16. PSpell::PSpell
  17.   (    short    cRange,
  18.     PMBool    bWrapAround,
  19.     PMBool    bAltSpell,
  20.     PMBool    bShowDup,
  21.     PMBool    bIgnore)
  22. {
  23.     short    x[5];
  24.     
  25.     x[0] = cRange;
  26.     x[1] = bWrapAround;
  27.     x[2] = bAltSpell;
  28.     x[3] = bShowDup;
  29.     x[4] = bIgnore;
  30.  
  31.     PCommand command(pm_spell, x, REQUEST_SIZE);
  32. }
  33.  
  34. // end of PSpell.cpp
  35.